﻿<%@ Page Language="C#" MasterPageFile="~/webadmin/pages/MasterPage.master" AutoEventWireup="true" CodeFile="TinTuc_XKLD_frm.aspx.cs" Inherits="webadmin_pages_TinTuc_XKLD_frm" Title="Thay doi tin tuc xuat khau lao dong" %>
<%@ Register Assembly="RadEditor.Net2" Namespace="Telerik.WebControls" TagPrefix="rad" %>
<asp:Content ID="Content3" ContentPlaceHolderID="ContentPlaceHolder_Main" Runat="Server">
			
				
		
		<% if (!string.IsNullOrEmpty(messnotID.ToString()))
     { %>
		<div class="notification error close png_bg" style="right: 0px; top: 0px; height: 43px">
					<div>Thông báo lỗi:  <b><i><%=messnotID%></i></b>
						</div>
			</div>
			<% } %>
			
			<div class="clear"></div> <!-- End .clear -->
            <%if (!string.IsNullOrEmpty(messnotID))
              {%>
             <div class="content-box closed-box"><!-- Start Content Box -->
             <%}
               else
               { %>
               <div class="content-box"><!-- Start Content Box -->
             <%} %>
             </div>
				
				<div class="content-box-header">
					
					<h3>Thêm mới bài viết  </h3>
					
					
					
				  <div class="clear"></div>
					
				</div> <!-- End .content-box-header -->
                <div class="content-box-content">
                <% if(!string.IsNullOrEmpty(mess)){ %>
		<div class="notification error png_bg">
				<a href="#" class="close"><img src="../resources/images/icons/cross_grey_small.png" title="Close this notification" alt="close" /></a>
				<div>
				Thông báo lỗi:  <b><i><%=mess%></i></b></div>
			</div>
			<% } %>
                <%
                    if (!string.IsNullOrEmpty(Request.QueryString["act"])) act = Request.QueryString["act"].Trim();
                    if (!(act=="add")){ %>
                <p><label>Mã tin:&nbsp;
                            <asp:TextBox ID="txtMa" runat="server" ReadOnly="True" Enabled="False"></asp:TextBox><span></span></label></p>
                    <p>
                    <%} %>
                        <label > Quốc gia </label>
                        <asp:DropDownList CssClass="text-input medium-input" ID="cboQuocGia" runat="server" Width="166px"></asp:DropDownList>
                        </p>
                    <p> 
                    <label > Tiêu Đề </label>
                     <asp:TextBox ID="txtTieuDe" runat="server" CssClass="text-input large-input" Width="641px"></asp:TextBox>
           <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ControlToValidate="txtTieuDe"
               ErrorMessage="(*) Tiêu đề không được rỗng"></asp:RequiredFieldValidator>
                    </p>
                    <p>
                    <label > Mô tả ngắn:</label></p>
                    <p>
                        <asp:TextBox ID="txtMoTaNgan" runat="server" Rows="5" TextMode="MultiLine" Width="506px"></asp:TextBox></p>
                    <p>
                    <label > Nội Dung bài viết&nbsp;<rad:radeditor id="txtNoiDung" runat="server" borderstyle="None"
                            converttagstolower="True" converttoxhtml="False" deletedocumentspaths="../Uploads/Delete"
                            deleteflashpaths="../Uploads/Delete" deleteimagespaths="../Uploads/Delete" deletemediapaths="../Uploads/Delete"
                            deletetemplatepaths="../Uploads/Delete" documentsfilters="*.doc,*.docx,*.xls,*.xlsx,*.pdf,*.txt,*.ppt,*.pptx,*.prc"
                            documentspaths="../Uploads/Documents" enableclientserialize="True" enablecontextmenus="True"
                            enabledocking="False" enableenhancededit="True" enablehtmlindentation="True"
                            enableserversiderendering="True" enabletab="True" flashpaths="../../Uploads/Flashs"
                            imagesfilters="*.gif,*.png,*.jpg,*.jpeg,*.bmp" imagespaths="../../Uploads/Images"
                            imagespathtostrip="../../Uploads/Images" maxdocumentsize="5242880" maxflashsize="5242880"
                            maximagesize="5242880" mediafilters="*.swf" mediapaths="../../Uploads/Flashs"
                            onclientcancel="" onclientcommandexecuted="" onclientcommandexecuting="" onclientinit=""
                            onclientload="" onclientmodechange="" onclientsubmit="" passsessiondata="True"
                            renderastextarea="False" saveinfile="True" showsubmitcancelbuttons="False" skin="Web20"
                            spelleditdistance="1" toolbarmode="Default" toolswidth="" uploaddocumentspaths="../../Uploads/Documents"
                            uploadflashpaths="../../Uploads/Flashs" uploadimagespaths="../../Uploads/Images"
                            uploadmediapaths="../../Uploads/Flashs" useclassicdialogs="True" width="100%"> </rad:radeditor>
                    </label>
                    
                     
                  
                    </p>
                     <p>
                       <asp:CheckBox ID="chkKichHoat" runat="server" Text="Cho phép hiển thị" />
                    </p>
                    <p>
                     <asp:Button ID="Button1" CssClass="button" runat="server" OnClick="Button1_Click" Text="Lưu Thông Tin" />
                    <input class="button" type="reset" value="Reset" />
                    </p>
                </div>
   </div>
</asp:Content>

